package com.example.common.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Data
@Entity
@Table(name = "sys_black_list_ip")
public class BlacklistIp implements Serializable {
	private static final long serialVersionUID = 6052358402125608919L;

	@Id
	@Column(name = "id_bigint", columnDefinition = "bigint(20)")
	private Long id;
	@Column(name = "ip_address_nvarchar", columnDefinition = "varchar(255)")
	private String ipAddress;
	@Column(name = "create_name_nvarchar", columnDefinition = "varchar(255)")
	private String createName;
	@Column(name = "create_time_datetime", columnDefinition = "datetime(3)")
	private Date createTime;
}
